import request from "@/utils/request";

export const userLogin = (data) => {
  //   const params = new URLSearchParams();
  //   for (let key in data) {
  //     params.append(key, data[key]);
  //   }
  return request({
    url: "/user/login",
    method: "post",
    data: data,
  });
};
